name/**
	 * @author Lisa
	 */
 
$(document).ready(function(){

$('.loginHref').click(function(){
// alert("Enter");
$.blockUI({
message: $('#formID')
});
});
$('.adLoginHref').click(function(){
	// alert("Enter");
	$.blockUI({
	message: $('#adFormID')
	});
	});
$('.managerLoginHref').click(function(){
	// alert("Enter");
	$.blockUI({
	message: $('#managerForm')
	});
	});



$('#loginCancel').click(function(){
   // alert("Enter");
   $.unblockUI;
	
});	
	
    jQuery(window).bind("load", function(){
        jQuery("div#slider1").codaSlider();
        // jQuery("div#slider2").codaSlider()
        // etc, etc. Beware of cross-linking difficulties if using multiple
		// sliders on one page.
    });
    
   
	
    
     $('#submit').click(function(){
      alert("Enter");
    
     });
    
     $('#adLoginCancel').click(function(){
      alert("Enter");
     $.unblockUI;
     
     });
      $('#adLoginHref').click(function(){
// alert("Enter");
     $.blockUI({
     message: $('#formID')
     });
     });
     
});
$('#adLoginHref').click(function(){
  alert("Enter");
 $.blockUI({
 message: $('#formID')
 });
 });
function adLogin(){
 $.blockUI({
     message: $('#formID')
	  });
}


/*
 * $('#rounded-corner').corner();
 */
function cancel(){
    $.unblockUI();
}

function clearText(field){
    if (field.defaultValue == field.value) 
        field.value = '';
    else 
        if (field.value == '') 
            field.value = field.defaultValue;
}

function showSchemaMap(){
    // window.open("index.jsp", "", "", true);
    window.location.href = "index.jsp";
    // window.location.assign("index.jsp");
    // window.location.replace("index.jsp");

}

function submitSearch(){
    if (document.getElementById("search") != null) {
    
        document.getElementById("search").submit();
    }
}

function submitFile(){
    if (document.getElementById("contactForm") != null) {
        alert("schedule");
        document.getElementById("contactForm").submit();
    }
}

function finishEdit(){
    document.getElementById("slices").finishEdit();
}
